(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  ["pages/register/register"], {
    "0a9d": function (e, t, n) {
      "use strict";
      (function (e, t) {
        var r = n("4ea4");
        n("f9f2");
        r(n("66fd"));
        var u = r(n("5588"));
        e.__webpack_require_UNI_MP_PLUGIN__ = n, t(u.default)
      }).call(this, n("bc2e")["default"], n("543d")["createPage"])
    },
    1162: function (e, t, n) {
      "use strict";
      (function (e) {
        var r = n("4ea4");
        Object.defineProperty(t, "__esModule", {
          value: !0
        }), t.default = void 0;
        var u = r(n("2eee")),
          a = r(n("c973")),
          i = {
            data: function () {
              return {
                yonghuxingbieOptions: [],
                yonghuxingbieIndex: 0,
                ruleForm: {},
                tableName: ""
              }
            },
            onLoad: function () {
              var t = this;
              return (0, a.default)(u.default.mark((function n() {
                var r;
                return u.default.wrap((function (n) {
                  while (1) switch (n.prev = n.next) {
                    case 0:
                      [], r = e.getStorageSync("loginTable"), t.tableName = r, "yonghu" == t.tableName && (t.yonghuxingbieOptions = "男,女".split(","), t.ruleForm.xingbie = t.yonghuxingbieOptions[0]), t.styleChange();
                    case 5:
                    case "end":
                      return n.stop()
                  }
                }), n)
              })))()
            },
            methods: {
              yonghuxingbieChange: function (e) {
                this.yonghuxingbieIndex = e.target.value, this.ruleForm.xingbie = this.yonghuxingbieOptions[this.yonghuxingbieIndex]
              },
              styleChange: function () {
                this.$nextTick((function () {}))
              },
              getUUID: function () {
                return (new Date).getTime()
              },
              register: function () {
                var e = this;
                return (0, a.default)(u.default.mark((function t() {
                  return u.default.wrap((function (t) {
                    while (1) switch (t.prev = t.next) {
                      case 0:
                        if (e.ruleForm.zhanghao || "yonghu" != e.tableName) {
                          t.next = 3;
                          break
                        }
                        return e.$utils.msg("账号不能为空"), t.abrupt("return");
                      case 3:
                        if (e.ruleForm.mima || "yonghu" != e.tableName) {
                          t.next = 6;
                          break
                        }
                        return e.$utils.msg("密码不能为空"), t.abrupt("return");
                      case 6:
                        if (e.ruleForm.xingming || "yonghu" != e.tableName) {
                          t.next = 9;
                          break
                        }
                        return e.$utils.msg("姓名不能为空"), t.abrupt("return");
                      case 9:
                        if (e.ruleForm.nianling || "yonghu" != e.tableName) {
                          t.next = 12;
                          break
                        }
                        return e.$utils.msg("年龄不能为空"), t.abrupt("return");
                      case 12:
                        if ("yonghu" != e.tableName || !e.ruleForm.nianling || e.$validate.isIntNumer(e.ruleForm.nianling)) {
                          t.next = 15;
                          break
                        }
                        return e.$utils.msg("年龄应输入整数"), t.abrupt("return");
                      case 15:
                        if (e.ruleForm.shouji || "yonghu" != e.tableName) {
                          t.next = 18;
                          break
                        }
                        return e.$utils.msg("手机不能为空"), t.abrupt("return");
                      case 18:
                        if ("yonghu" != e.tableName || !e.ruleForm.shouji || e.$validate.isMobile(e.ruleForm.shouji)) {
                          t.next = 21;
                          break
                        }
                        return e.$utils.msg("手机应输入手机格式"), t.abrupt("return");
                      case 21:
                        if ("yonghu" != e.tableName || !e.ruleForm.money || e.$validate.isNumber(e.ruleForm.money)) {
                          t.next = 24;
                          break
                        }
                        return e.$utils.msg("余额应输入数字"), t.abrupt("return");
                      case 24:
                        return t.next = 26, e.$api.register("".concat(e.tableName), e.ruleForm);
                      case 26:
                        e.$utils.msgBack("注册成功");
                      case 28:
                      case "end":
                        return t.stop()
                    }
                  }), t)
                })))()
              }
            }
          };
        t.default = i
      }).call(this, n("543d")["default"])
    },
    "44ec": function (e, t, n) {
      "use strict";
      n.d(t, "b", (function () {
        return r
      })), n.d(t, "c", (function () {
        return u
      })), n.d(t, "a", (function () {}));
      var r = function () {
          var e = this.$createElement;
          this._self._c
        },
        u = []
    },
    5588: function (e, t, n) {
      "use strict";
      n.r(t);
      var r = n("44ec"),
        u = n("5b7b");
      for (var a in u)["default"].indexOf(a) < 0 && function (e) {
        n.d(t, e, (function () {
          return u[e]
        }))
      }(a);
      n("a594");
      var i = n("f0c5"),
        o = Object(i["a"])(u["default"], r["b"], r["c"], !1, null, "0306d2f4", null, !1, r["a"], void 0);
      t["default"] = o.exports
    },
    "5b7b": function (e, t, n) {
      "use strict";
      n.r(t);
      var r = n("1162"),
        u = n.n(r);
      for (var a in r)["default"].indexOf(a) < 0 && function (e) {
        n.d(t, e, (function () {
          return r[e]
        }))
      }(a);
      t["default"] = u.a
    },
    a594: function (e, t, n) {
      "use strict";
      var r = n("c1e4"),
        u = n.n(r);
      u.a
    },
    c1e4: function (e, t, n) {}
  },
  [
    ["0a9d", "common/runtime", "common/vendor"]
  ]
]);